package com.book.service;

import com.book.dao.AdminMapper;
import com.book.entity.Admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by 落叶的思恋 on 2017/6/5.
 */
@Service("AdminInfoService")
public class AdminInfoServiceImp  implements AdminInfoService{
    @Autowired
    AdminMapper adminMapper;
    @Override
    public Admin login(String name, String password) {
        return adminMapper.login(name,password);
    }
}
